package com.isp.org.api.dto;

import java.io.Serializable;
import java.util.Date;

public class Resource implements Serializable {

    private static final long serialVersionUID = 1109925387266519023L;

    private String code;
    private String name;
    private String type;
    private String url;
    private String method;
    private String description;

    private String id;

    private String creator;

    private Date createdAt;

    private String operator;

    private Date updatedAt;


    public Resource() {
    }

    public Resource(String code, String name, String type, String url, String method, String description, String id, String creator, Date createdAt, String operator, Date updatedAt) {
        this.code = code;
        this.name = name;
        this.type = type;
        this.url = url;
        this.method = method;
        this.description = description;
        this.id = id;
        this.creator = creator;
        this.createdAt = createdAt;
        this.operator = operator;
        this.updatedAt = updatedAt;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }
}
